package com.dao;

import com.mypg.UserHistory;
import org.apache.ibatis.annotations.Param;

public interface UserHistoryDao {

    int selectIndexByUser_idAndHistory_class(@Param("user_id")int user_id,@Param("history_class")String history_class);

    void updateIndexByUser_idAndHistory_class(@Param("history_index")int history_index,
                                              @Param("user_id")int user_id,@Param("history_class")String history_class);

    void insertUserHistory(UserHistory userHistory);
}
